package com.train.pojo;

import java.util.Date;

public class Admin {
    private Integer adminId;

    private String adminRealname;

    private String username;

    private String password;

    private String adminPhone;

    private Integer roleType;

    private Date adminCreateTime;

    private Date adminUpdateTime;

    public Admin(Integer adminId, String adminRealname, String username, String password, String adminPhone, Integer roleType, Date adminCreateTime, Date adminUpdateTime) {
        this.adminId = adminId;
        this.adminRealname = adminRealname;
        this.username = username;
        this.password = password;
        this.adminPhone = adminPhone;
        this.roleType = roleType;
        this.adminCreateTime = adminCreateTime;
        this.adminUpdateTime = adminUpdateTime;
    }

    public Admin() {
        super();
    }

    public Integer getAdminId() {
        return adminId;
    }

    public void setAdminId(Integer adminId) {
        this.adminId = adminId;
    }

    public String getAdminRealname() {
        return adminRealname;
    }

    public void setAdminRealname(String adminRealname) {
        this.adminRealname = adminRealname == null ? null : adminRealname.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getAdminPhone() {
        return adminPhone;
    }

    public void setAdminPhone(String adminPhone) {
        this.adminPhone = adminPhone == null ? null : adminPhone.trim();
    }

    public Integer getRoleType() {
        return roleType;
    }

    public void setRoleType(Integer roleType) {
        this.roleType = roleType;
    }

    public Date getAdminCreateTime() {
        return adminCreateTime;
    }

    public void setAdminCreateTime(Date adminCreateTime) {
        this.adminCreateTime = adminCreateTime;
    }

    public Date getAdminUpdateTime() {
        return adminUpdateTime;
    }

    public void setAdminUpdateTime(Date adminUpdateTime) {
        this.adminUpdateTime = adminUpdateTime;
    }
}